from flask import Flask, render_template

app = Flask(__name__)

@app.route('/userlist')
def userlist():
    users = [
        {"name": "Tom", "age": "18", "sex": 1},
        {"name": "Coral", "age": "17", "sex": 0},
        {"name": "Kate", "age": "18", "sex": 0}
    ]
    return render_template("userlist.html", user=users)

if __name__=='__main__':
    app.run()
